# conkyrc-infos
# arpinux@2012

# settings #############################################################
use_xft yes
xftfont Terminus:size=8
xftalpha 1
override_utf8_locale yes
use_spacer none
short_units yes
text_buffer_size 2048
background yes
update_interval 1
xftalpha 1
total_run_times 0
draw_shades no
default_bar_size 100 10
default_color gray50
own_window_color black
own_window yes
own_window_transparent yes
own_window_type override
minimum_size 1004 700
maximum_width 1004
double_buffer yes
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
gap_x 10
gap_y 10
alignment top_left
if_up_strictness address

# output ###############################################################
TEXT
${color #ffffff}${time %a %d %b -- %I:%M} ${hr 1}$color
$alignr ${nodename} since ${uptime_short}
power ${acpiacadapter} $alignr Debian livarp
battery ${battery BAT0} ${battery_time BAT0}$alignr ${sysname} ${kernel}


${color #FF8C00}CPU${goto 35}${cpubar 10,100} ${cpu cpu0}% ${hr 1}$color
cpu usage >> ${alignr}processes ${running_processes}/${processes}
1 :${top name 1} ${top cpu 1}%  ${top pid 1} \
${goto 300}6 :${top name 6} ${top cpu 6}%  ${top pid 6} \
${alignr}loadavg ${loadavg}
2 :${top name 2} ${top cpu 2}%  ${top pid 2} \
${goto 300}7 :${top name 7} ${top cpu 7}%  ${top pid 7} \
${alignr}freq ${freq cpu0}Mhz
3 :${top name 3} ${top cpu 3}%  ${top pid 3} \
${goto 300}8 :${top name 8} ${top cpu 8}%  ${top pid 8}
4 :${top name 4} ${top cpu 4}%  ${top pid 4} \
${goto 300}9 :${top name 9} ${top cpu 9}%  ${top pid 9}
5 :${top name 5} ${top cpu 5}%  ${top pid 5} \
${goto 300}10:${top name 10} ${top cpu 10}%  ${top pid 10} \
${voffset -15}${alignr 3}${cpugraph 20,200}


${voffset -5}${color #04B500}RAM${goto 35}${membar 10,100} ${memperc}% ${hr 1}$color
mem usage >> $alignr used ${mem}
1 :${top_mem name 1} ${top_mem mem 1}%  ${top_mem pid 1} \
${goto 300}6 :${top_mem name 6} ${top_mem mem 6}%  ${top_mem pid 6} \
$alignr total ${memmax}
2 :${top_mem name 2} ${top_mem mem 2}%  ${top_mem pid 2} \
${goto 300}7 :${top_mem name 7} ${top_mem mem 7}%  ${top_mem pid 7} \
$alignr free ${memfree}
3 :${top_mem name 3} ${top_mem mem 3}%  ${top_mem pid 3} \
${goto 300}8 :${top_mem name 8} ${top_mem mem 8}%  ${top_mem pid 8} \
$alignr easyfree ${memeasyfree}
4 :${top_mem name 4} ${top_mem mem 4}%  ${top_mem pid 4} \
${goto 300}9 :${top_mem name 9} ${top_mem mem 9}%  ${top_mem pid 9}
5 :${top_mem name 5} ${top_mem mem 5}%  ${top_mem pid 5} \
${goto 300}10:${top_mem name 10} ${top_mem mem 10}%  ${top_mem pid 10} \
$alignr swap ${swapperc}%    ${swap} / ${swapmax}


${color #0059B5}HDD${goto 35}${fs_bar /} ${fs_used_perc /}%  ${hr 1}$color
I/O${goto 35}${diskiograph 10,100} ${diskio}/s \
$alignr used:${fs_used /} / free:${fs_free /} / total:${fs_size /}

lacie ${if_existing /media/LACIE}${fs_used_perc /media/LACIE}% -\
- ${fs_free /media/LACIE} free${else}not mounted${endif} \
${goto 200}B4G ${if_existing /media/B4G}${fs_used_perc /media/B4G}% -\
- ${fs_free /media/B4G} free${else}not mounted${endif}
clear ${if_existing /media/clear}${fs_used_perc /media/clear}% -\
- ${fs_free /media/clear} free${else}not mounted${endif} \
${goto 200}${if_mounted /media/cdrom0}cdrom mounted${else}${endif}


${color #9000B5}misc ${hr 1}$color
ibm vol ${ibm_volume} $alignr temp cpu:${ibm_temps 0}°
Master ${mixer Master}% \
${goto 200}${if_running mocp}${if_match "${exec mocp -Q %state}" != "PLAY"}\
moc's waiting${else}on air: \
${exec mocp -Q %song} - by ${exec mocp -Q %artist} \
- from ${exec mocp -Q %album} \
- ${exec mocp -Q %ct}/${exec mocp -Q %tt}$endif$endif \
$alignr hdd:${ibm_temps 2}°
PCM ${mixer PCM}% $alignr gpu:${ibm_temps 3}°


${color #00B5B1}network ${if_up eth1}wired ${hr 1}$color
download ${goto 55}${downspeedgraph eth1 10,100} ${downspeed eth1}/s $alignr ${addr eth1} / ${texeci 120 ip.sh}
upload ${goto 55}${upspeedgraph eth1 10,100} ${upspeed eth1}/s $alignr tcp_port(s) ${tcp_portmon 1 65535 count}
devart ${texeci 600 ~/bin/devart.sh 1 messages} message(s) / ${texeci 600 ~/bin/devart.sh 0 feedbacks} feedbacks $alignr ${texeci 28800 ~/bin/debupdates.sh} update(s)${else}${if_up eth3}wifi ${hr 1}$color
signal ${wireless_link_qual_perc eth3}% $alignr ${addr eth3} / ${texeci 120 ip.sh}
connected to ${wireless_essid eth3} $alignr tcp_port(s) ${tcp_portmon 1 65535 count}
mode: ${wireless_mode eth3} $alignr devart ${texeci 600 ~/bin/devart.sh 1 messages} message(s) / ${texeci 600 ~/bin/devart.sh 0 feedbacks} feedbacks
access ${wireless_ap eth3}
download ${goto 55}${downspeedgraph eth3 10,100} ${downspeed eth3}/s \
$alignr ${texeci 28800 ~/bin/debupdates.sh} update(s)
upload ${goto 55}${upspeedgraph eth3 10,100} ${upspeed eth3}/s${else} ${hr 1}$color
$alignr no network${endif}${endif}


${color #E6DF19}news ${hr 1}$color
${if_up eth1}${exec echo "#!-fr"} >> \
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 0}\
${goto 500}Actus >> \
${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 0}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 1}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 1}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 2}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 2}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 3}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 3}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 4}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 4}\
${else}${if_up eth3}${exec echo "#!-fr"} >> \
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 0}\
${goto 500}Actus >> \
${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 0}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 1}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 1}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 2}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 2}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 3}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 3}
${rss http://crunchbanglinux-fr.org/forum/extern.php?action=feed&type=rss 30 item_title 4}\
${goto 500}${rss http://news.google.fr/news?pz=1&cf=all&ned=fr&hl=fr&output=rss 10 item_title 4}\
${else}no news$endif$endif


${color #CF0022}/var/log/messages ${hr 1}$color
${exec sudo tail -n6 /var/log/messages}
